package com.jwsoft.manager.common.vo.eduDataTaskDetail;

import com.bifang.assistant.common.vo.BasePageVO;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 数据备份任务详情表VO
 *
 * @author zhiyuan
 * @since 2023-09-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class EduDataTaskDetailVO extends BasePageVO {

    @Schema(name = "taskDetailId", description = "任务详情id")
    private String taskDetailId;

    @Schema(name = "taskId", description = "任务id")
    private String taskId;

    @Schema(name = "handleTable", description = "操作表名")
    private String handleTable;

    @Schema(name = "migrationTable", description = "备份表名")
    private String migrationTable;

    @Schema(name = "tempTable", description = "临时表名")
    private String tempTable;

    @Schema(name = "year", description = "年度")
    private Integer year;

    @Schema(name = "migrationCount", description = "迁移数量")
    private Integer migrationCount;

    @Schema(name = "migrationStatus", description = "迁移状态 0待迁移  1迁移成功  2迁移失败")
    private String migrationStatus;

    @Schema(name = "migrationRemarks", description = "迁移备注")
    private String migrationRemarks;

    @Schema(name = "migrationTime", description = "迁移时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date migrationTime;

    @Schema(name = "encryptCount", description = "加密数量")
    private Integer encryptCount;

    @Schema(name = "encryptStatus", description = "加密状态 0待加密  1加密成功  2加密失败")
    private String encryptStatus;

    @Schema(name = "encryptRemarks", description = "加密备注")
    private String encryptRemarks;

    @Schema(name = "encryptTime", description = "加密时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date encryptTime;

    @Schema(name = "cleanCount", description = "销毁数量")
    private Integer cleanCount;

    @Schema(name = "cleanStatus", description = "历史数据销毁状态 0待销毁  1销毁成功  2销毁失败")
    private String cleanStatus;

    @Schema(name = "cleanRemarks", description = "销毁备注")
    private String cleanRemarks;

    @Schema(name = "cleanTime", description = "销毁时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date cleanTime;

    @Schema(name = "tempCleanCount", description = "临时数据清空数量")
    private Integer tempCleanCount;

    @Schema(name = "tempCleanStatus", description = "临时数据清空状态 0待销毁  1销毁成功  2销毁失败")
    private String tempCleanStatus;

    @Schema(name = "tempCleanRemarks", description = "临时数据清空毁备注")
    private String tempCleanRemarks;

    @Schema(name = "tempCleanTime", description = "临时数据清空时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date tempCleanTime;

    @Schema(name = "createName", description = "创建人")
    private String createName;

    @Schema(name = "createTime", description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    //进度条
    private String percentage;
    //进度条描述
    private String describe;
    //操作按钮描述
    private String opContent;


}
